/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package mywebapp.dao;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Entity</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link mywebapp.dao.Entity#getName <em>Name</em>}</li>
 *   <li>{@link mywebapp.dao.Entity#getChamps <em>Champs</em>}</li>
 * </ul>
 * </p>
 *
 * @see mywebapp.dao.DaoPackage#getEntity()
 * @model annotation="http://www.eclipse.org/emf/2002/Ecore constraints='not_champ_id not_same_name'"
 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot not_champ_id='name <> \'ID\' implies name <> \'id\'' not_same_name='champs->forAll(a : Champ, b : Champ | a <> b implies a.name <> b.name)'"
 * @generated
 */
public interface Entity extends EObject {
	/**
	 * Returns the value of the '<em><b>Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Name</em>' attribute.
	 * @see #setName(String)
	 * @see mywebapp.dao.DaoPackage#getEntity_Name()
	 * @model required="true"
	 * @generated
	 */
	String getName();

	/**
	 * Sets the value of the '{@link mywebapp.dao.Entity#getName <em>Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Name</em>' attribute.
	 * @see #getName()
	 * @generated
	 */
	void setName(String value);

	/**
	 * Returns the value of the '<em><b>Champs</b></em>' containment reference list.
	 * The list contents are of type {@link mywebapp.dao.Champ}.
	 * It is bidirectional and its opposite is '{@link mywebapp.dao.Champ#getEntity <em>Entity</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Champs</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Champs</em>' containment reference list.
	 * @see mywebapp.dao.DaoPackage#getEntity_Champs()
	 * @see mywebapp.dao.Champ#getEntity
	 * @model type="mywebapp.dao.Champ" opposite="entity" containment="true" required="true"
	 * @generated
	 */
	EList getChamps();

} // Entity
